#!/opt/php/bin/php
<?php
require_once('TVB/mytvplus/portal_service/common/bootstrap.php');

Model::$dbo['portal_check_video_r'] = CommonUtils::getDbConn(0, 'portal_check_video');
Model::$dbo['portal_check_video_w'] = CommonUtils::getDbConn(1, 'portal_check_video');

for ($i=1; $i<=5; $i++) 
{
    $obj = array(
        'programme_id' => $i, 
        'status' => 'no', 
        'push_time' => date('Y-m-d H:i:s'), 
        'modified_time' => date('Y-m-d H:i:s'),
    );
    $video_check_list = new video_check_list;
    $video_check_list->set((object) $obj);
    $video_check_list->insert($video_check_list);
}
